From: Giovanni Campagna Date: Tue, 14 Aug 2012 15:49:46 +0000 (+0200) Subject: Use GDM instead of libaccountsservice for fast user switching X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6189 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1dbbb4f91c0576284c340a1a0e40aa595aeaa0b8;p=gnome-shell.git Use GDM instead of libaccountsservice for fast user switching libaccountsservice uses gdmflexiserver internally, which has been removed from gdm. Instead, use libgdm directly. https://bugzilla.gnome.org/show_bug.cgi?id=680231 --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index c48fbeb31..fcad52679 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -208,7 +208,7 @@ const UnlockDialog = new Lang.Class({ }, _otherUserClicked: function(button, event) { - this._userManager.goto_login_session(); + Gdm.goto_login_session_sync(null); this._userVerifier.cancel(); this.emit('failed'); diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 07f7ee691..2f743015f 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -779,7 +779,7 @@ const UserMenuButton = new Lang.Class({ Main.overview.hide(); if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY)) Main.screenShield.lock(false); - this._userManager.goto_login_session(); + Gdm.goto_login_session_sync(null); }, _onQuitSessionActivate: function() {